package fun.tan90.easy.binlog.manager;

import com.alibaba.fastjson.parser.ParserConfig;
import fun.tan90.easy.binlog.manager.model.vo.SysUserInfoVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * description TODO
 * company 铁人科技
 *
 * @author 陈浩杰
 * @date 2023/7/13 8:12
 */
@Slf4j
@SpringBootApplication
public class EasyBinlogManagerApplication {

    static {
        ParserConfig.getGlobalInstance().setAutoTypeSupport(true);
        ParserConfig.getGlobalInstance().addAccept(SysUserInfoVo.class.getName());
    }

    public static void main(String[] args) {
        SpringApplication.run(EasyBinlogManagerApplication.class, args);
        log.info("EasyBinlogManager started ... ...");
    }

}
